package com.youlu.campus.service.system;

import com.youlu.campus.entity.system.UserDataPermission;

import java.util.List;

public interface UserDataPermissionService {

    List<UserDataPermission> list(UserDataPermission req);

    boolean update(UserDataPermission req);

    UserDataPermission findOne(String userId);

    boolean create();

    /**
     * 添加用户数据权限
     * @param activityId
     * @param userIds
     * @return
     */
    boolean addUserDataPermission(String activityId, List<String> userIds);
}
